home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 3.2
/
Ham Radio Version 3.2 (Chestnut CD-ROMs)(1993).ISO
/
control
/
spec25
/
spec525.doc
< prev
next >
Wrap
Text File
|
1990-08-09
|
26KB
|
656 lines
SPEC525.DOC Wednesday, August 8, 1990 Page 1
+---------------------+
| |
| S P E C 5 2 5 |
| (SPECTRUM 525) |
| |
+---------------------+
Version 3.1
A Mouse Control Program
for the
JRC Model NRD-525 General Coverage Receiver
by
James P. Hawkins
August 8, 1990
(First Release) April 24, 1990
Copyright (C) 1989-90, James P. Hawkins
All Rights Reserved
James P. Hawkins
P.O. Box 9146
Trenton, New Jersey 08650
SPEC525.DOC Wednesday, August 8, 1990 Page 2
* * * S P E C 5 2 5 * * *
(SPECTRUM 525)
INTRODUCTION
This program was written by James P. Hawkins WA2WHV as a
visual means of controlling the JRC NRD-525. Most of the
receiver controls are available on the PC screen. The
salient feature of this program is the display of a
multicolored frequency spectrum chart, divided into band
allocations. Each allocation can be clicked on as if it were
a menu selection which causes a frequency calibrated expanded
dial. In addition to the frequency marks, the dial can
contain station names or any markings the user desires.
These markings are stored in data files. It requires a VGA
graphics as the resolution must be high enough to resolve the
frequency dial. The program is actually an ACTIVE spectrum
chart, broken up into 6 bands. At this time, the data is
based files which represent the hour of the day and one
common file which contains markings which will appear for any
time of day.
INSTALLATION
Before proceeding, make a backup copy of the diskette. To
install spec525, insert the diskette and type a:install. The
installation will leave you in the C: The program is setup
to operate on port COM1 at 1200 baud. If you wish to change
the port to COM2, edit the SPEC525.INI file so that
port=COM2. The same applies for ports COM3 and COM4. To set
the baud rate to 1200 on your receiver, hold the "memo"
button down and press the '8' button repeatedly until the
number 1200 is observed on the frequency dial. You should
now be able to start the program by typing spec525.
If you want the program to be universally executable add the
following line to the end of your autoexec.bat file.
path=%PATH%;c:\spec525
The program needs an SPEC525.INI file present in whatever
current directory you are in when you invoke it. If there is
none present, it will attempt to create one. The data files
used by spec525 should reside in whatever path is specified
by the "path=" line in SPEC525.INI. Initially it is set to
SPEC525.DOC Wednesday, August 8, 1990 Page 3
C: If you have the demo, type DEMO525 to start the program.
If it's the registered version type SPEC525.
CONTROLS
This section describes the graphics control panel.
Dial Pointer
On the top of the screen is a dial pointer which
indicates the current selected position on the frequency
spectrum or dial. It starts up at zero.
Spectrum/Magnified Bandspread
The area below the dial displays a portion of the
frequency spectrum between 100KHz and 34 MHz, depending
on what the band switch is set to (read on). The
spectrum display consists of color coded areas, each
representing a specific allocation of the band. The left
mouse button may be clicked on or dragged across the
spectrum to change the frequency in 10KHz increments.
The dial pointer will follow and remain where it is left
when the mouse button is released. If the right mouse
button is clicked on one of the allocations, it will
expand or magnify into a frequency calibrated dial which
is controllable in 1KHz increments with the left mouse
button. On the bandspread dial, is a horizontal center
line, above which are frequency markings. Below this
line are labeled markings which may be added or changed
by the user.
Fine Tune
The fine tune dial, which is below and to the center of
the spectrum dial, allows the user to tune in 10 Hz
increments by clicking or dragging in the lower half of
the box with the left mouse button. The dial pointer in
the upper half will follow and remain where the mouse
button is released.
Fine Tune Offset Indicator
This indicator is to the right of the fine tune bar and
indicates the plus or minus offset which is added to the
main dial when the fine tuning is changed.
Memory Channel Map - MCM
MCM is a visual representation of the 200 receiver
channels numbered every fifth square from 0 to 195. The
squares seem small at first, but are quite easy to
select. The channel map is in halfway down the screen
and contains two rows of squares. The top row is
numbered to 95 and the bottom row is numbered to 195. A
channel is addressed by simply moving the cursor onto a
square and clicking the left mouse button. There are two
selections which determine whether clicking a channel map
square will store the current receiver settings or
retrieve those already contained in the receiver
channel. They are labeled RECALL and STORE with "MCM"
SPEC525.DOC Wednesday, August 8, 1990 Page 4
appearing below them. The highlighted option is the one
in effect and it will remain in effect until the other
option is chosen by clicking the mouse on the option.
Initially the program starts in a RECALL mode to prevent
inadvertant destruction of a channel. The user must
deliberately chose STORE.
With this method, the user may easily store large groups
of frequencies very quickly by alternately clicking to
the frequency, then clicking the memory channel while in
STORE mode. The user may also type in frequencies and
channels as will be shown.
Slew control
This is below and to the left of the Spectrum display and
consists of a circle and two arrows on either side. This
control is only effective when the display is magnified
to a bandspread. Clicking on the right or left arrows
steps the expanded display to the next allocation without
having to go back to the spectrum. Clicking on the
circle, simply redisplays the current band display.
Slewing is limited to either end of the current band
selection.
RECEIVER CONTROLS
In the lower half of the screen are other controls and
indicators. A selection is made by "clicking" the left mouse
button on your selection. When a selection is made the menu
item displays black lettering on white background in a
reverse video fashion. The NON-MODE menu (SET FREQ, DIAL
MARK, SAVE DB, CHAN STO. CHAN REC.) does not highlight as it
does not put the receiver into any mode.
Digital Frequency and Time Indicator
Indicates the time and current frequency setting of the
receiver PLUS the value of timeshift in the SPEC525.INI
file. The user may edit the timeshift parameter to
display any timezone shifted from his/her PC time. The
best choice is probably Universal Time.
Mode Switch
Allows selection of RTTY, CW, USB, LSB, AM, FM, FAX using
the left mouse button. The black area at the top
indicates the current setting.
Bandwidth Switch
Allows selection of receiver bandwith to WIDE, INTER,
NARROW, AUX. Note that the NARROW selection will not
work without the optional CFL-232 filter mounted.
CHAN STO. and CHAN REC.
Allows setting of receiver channels. Clicking on CHANnel
STOre will prompt the user for a channel number. Upon
entering the channel number, the receiver channel will be
set to the current program parameters.
SPEC525.DOC Wednesday, August 8, 1990 Page 5
Clicking the CHANnel RECall will prompt the user for a
channel number. Upon entering the number, the receiver
will be set to the parameters contained in that channel
number.
I may remove these menu options to make room for others,
as the previously explained channel map method of storing
and recalling receiver settings is a visual and more
convenient way of setting channels.
DIAL MARK and SAVE DB
Allows setting of memory and dial labeling. Clicking on
the DIAL MARK causes the program to ask for a typed in
input at the bottom of the screen. When the user types
in a label, followed by a carriage return, the bandspread
dial will display a labeled tick mark at the point the
the frequency was set when the label was typed in. If
the program is on an expanded dial, the dial will
redisplay to show the new mark, however, if the frequency
is not in range of the current expanded dial, the mark
will not show up unless the user goes to the appropriate
expanded dial. This might happen in the case of a typed
in frequency. REMOVAL of a dial mark is accomplished by
setting the dial to the mark to be removed, then
following the above procedure, but entering only an
<ENTER>. The SAVE DB option stores the dial mark
information in the data base for the particular hour.
The labels are temporary unless the user clicks the SAVE
DB option.
SET FREQ Option
When this option is "clicked", the prompt will ask for an
input frequency to be typed in KHz. This allows the user
to type in a specific frequency manually. This feature
in conjunction with the DIAL MARK function can be used to
enter a series of frequencies and labels from a list
without having to view them or move the frequency dial or
change the bandswitch. Also by using the DBASE option,
the entry can be made for the appropriate hour of the
day. It is important to remember, however that SAVE DB
must be clicked to store them away.
SEARCH and SRCH NEXT
This selection allows the program to search for a
specific station name entry when typed in by the user.
First occurrences of a label will be found by selecting
SEARCH. Subsequent occurrences of the same label will be
found by using SRCH NEXT. If you click the SEARCH option
it prompts you for a label. So, if you type in wwv, it
will look for the first occurrence or lowest wwv
frequency. If you then click SRCH NEXT, it will look for
the next occurrence of wwv. Each time you select SRCH
NEXT it will look for the next occurrence. So if you had
entered all the wwv frequencies, it will select 2.5 MHZ
SPEC525.DOC Wednesday, August 8, 1990 Page 6
first then as you keep selecting SRCH NEXT it will cycle
through 5.0, 10.0, 15.0, 20.0 and 25.0 MHZ and then cycle
back to the first. So if I want to find the best
reception of WWV, I just type it in once, then keep
searching for the best. Input is not sensitive to upper
or lower case so it does not matter whether the
characters are upper or lower case.
AGC
AGC FAST/SLOW/OFF
ATTEN
Attenuator ON/OFF.
REM
Remote control ON/OFF. This frees up the receiver to be
controlled manually, by disabling program control. If
receiver is turned on after program is started, you can
synchronize the receiver with the program by clicking
remote off, then remote on. Turning on remote, outputs
ALL of the saved receiver status. This is also
convenient if you want to turn the remote off,
temporarily change the actual receiver controls, then put
it back to the state it was in by turning the remote on.
The idea being that the receiver should be in the state
the program is in when the receiver is listening.
DBASE
Database file 0-23. Selects which file to use for dial
markings. The numbers represent the hour of the day.
The program automatically selects the data file that
represents the current hour of the day as it is known by
the PC. When the hour changes, the data file changes,
thus changing the dial markings. The datafiles are named
dbandN.525 where N represents the hour of the day.
Another file is cmnband.525. This file contains station
names and frequencies that are to be displayed regardless
of hour such as Citizens band channel numbers, WWV, etc.
Dbase files are found in the directory path specified by
the path setting in the SPEC525.INI file which exists in
whatever current directory the user is in at the time of
program execution.
ADB
Automatic database, disables automatic time switching of
data file.
Bandswitch
Selects the frequency range of the spectrum display.
RECEIVER STATUS SAVE
The uses editable data contained in the SPEC525.INI file
to initialize. As previously stated, SPEC525.INI is
located in whatever directory the user is in at the time
of program invocation. When a user exits the program
SPEC525.DOC Wednesday, August 8, 1990 Page 7
normally by clicking on the exit menu selection, control
settings and frequency settings are saved SPEC525.INI in
the form of NRD-525 command strings. The port name, baud
rate and datapath and timeshift are also specified in
this file. When the program is started, it looks for the
values in this file to reset controls. If a value is not
present, a default setting, hardcoded in the program is
used.
The "timeshift=" entry in SPEC525.INI allows time
adjustment for time conversion to any time zone including
Universal time. For example if Universal time is desired
and your PC is set to EDT, then set timeshift=4 for a 4
hour time difference. The program will then display
Universal time. Set timeshift=0 if you want the program
to display the time set in your PC.
The user may edit these values manually and the order is
unimportant. When the program is terminated normally,
the file will be rewritten. Missing values will be
entered and modified values will be changed.
If the file does not exist or is empty, the program will
create one with the default values.
This editable form makes it possible for the user to
write another program which can set the receiver
parameters as they are all documented with the NRD-525
interface card. An example of the contents of the file
is as follows:
port=COM1
baud=1200
datapath=C:\USR\JIM\
timeshift=4
A0
B3
C001
D0
E1
F00113000
G0
I0
The default settings are as follows:
port=COM1
baud=1200
datapath=c:\spec525\
timeshift=0
A0
B0
C001
D4
E1
F00113000
SPEC525.DOC Wednesday, August 8, 1990 Page 8
G0
I0
FUTURE PLANS
When time allows, I am planning to add an additional menu
to the program which will allow the user to LOAD or
COMBINE station data from other named data files then
save the file under any desired name. For example, a
single file may contain a set of frequencies for
HURRICANE tracking; another might contain stations which
contain Spanish Speaking Stations. These can be loaded
separately or combined. Another could be a file
containing dipole antenna lengths so that when loaded,
the dial will be a rule to calculate antenna lengths.
Any ideas on ways to implement these features are
welcome. Send me postal mail or contact me through
CompuServe ID 71760,3362.
SPEC525.DOC Wednesday, August 8, 1990 Page 9
SHAREWARE and COPYRIGHT NOTICE
Welcome to user supported software (commonly referred to as
"SHAREWARE"). User supported software allows you to try
software before you buy, and when you do buy, to pay much
less than for commercially developed software. This is true
because there are no costs for advertising, sales staffs,
fancy packaging and distribution costs bundled into the
software. Just good software, not glossy packaging, and no
hassles. Pay only if you like it. Your registration of
SPEC525 will encourage more development of this type software
and ultimately provide better software at lower prices to
everyone. SPEC525 3.1 and its follow on products depend
entirely upon your support for their existence. This program
is a demob, but the only disabled feature is the ability to
save new label entries (SAVE DB) and the number of station
labels is limited to 200. If you register this program, I
will mail you a fully working copy of the program.
SPEC525 V3.1 is protected by U.S. and international copyright
laws. SPEC525 was written by me, James P. Hawkins in
Microsoft C and is Copyright (c) 1988-90 by James P. Hawkins.
All rights are reserved.
_________________________________________________________________
You are specifically granted the right to use SPEC525 3.1 on
a 30 day trial basis. If you like it and you want a fully
functional copy, you must register your copy by sending
$36.50 to
James P. Hawkins
SPEC525.DOC Wednesday, August 8, 1990 Page 10
P.O. Box 9146
Trenton, NJ 08650-1146
Residents of NJ must include sales tax.
(Currently 7%, so please send $39.05).
_________________________________________________________________
You are also encouraged to share SPEC525 V3.1 with others and
to distribute copies on computerized bulletin board systems,
however you may not:
1) Charge for, or otherwise sell, lease or rent this
program. This also prohibits bundling of this program
with some other product or service.
2) Modify the program or its documentation in any way.
3) Distribute the program without this .DOC file.
4) Distribute this program as part of a promotion for any
commercial venture or as an inducement to purchase some
product or service.
You MAY, however, charge a fee for the actual distribution of
this program. In this case, it must be made clear to the person
receiving SPEC525 that a registration fee is still required, if
the user intends to keep SPEC525.
Warrantee: This program is being provided "AS IS". It is up to
the user to determine the suitability of this program for their
purposes. The user takes all responsibility for any direct or
consequential damages. It is written for VGA graphics only. A
monochrome version may be made available in the future when I get
the chance.
Support: Please DO report all bugs, difficulties or improvements
desired. Registered users will be notified of the availability
of the updates.
I have not yet determined the price of updates. It will depend
on the change. If an update is only serious bug fixes, the cost
will be very minimal. If major enhancements are added, the
update will be more.
SPEC525.DOC Wednesday, August 8, 1990 Page 11